package cn.hello2018.oa.dao;

import cn.hello2018.oa.entity.Department;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author jeymingwu
 * @date 2019/2/15 16:42
 */
@Repository
public interface DepartmentDao {
    void insert(Department department);

    void update(Department department);

    void delete(String sn);

    Department select(String sn);

    List<Department> selectAll();
}
